package com.tensquare.qa.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.util.Date;

/**
 * 回答对象 tb_reply
 * 
 * @author hbxfwf
 * @date 2021-08-25
 */
@Data
public class Reply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private String id;

    /** 问题ID */
    @Excel(name = "问题ID")
    private String problemid;

    /** 回答内容 */
    @Excel(name = "回答内容")
    private String content;

    /** 回答人ID */
    @Excel(name = "回答人ID")
    private String userid;

    /** 回答人昵称 */
    @Excel(name = "回答人昵称")
    private String nickname;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createtime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updatetime;
}
